
const s1 = Symbol.for("wxl")
const s2 = Symbol.for("wxl")

// console.info(Symbol.keyFor(s1));

// Symbol.hasInstance

const obj = {
    [Symbol.hasInstance](params:any){
        // tslint:disable-next-line: no-console
        console.info(params);
    }
}

// console.log({a:"a"} instanceof <any>obj)